<ul class="espcms_uploadPicList">
	[%if $dir_read.filedir_id%]
	<li id="dir_[%$dir_read.filedir_id%]" class="state-complete espcms_filedir_ok" file_id="[%$dir_read.filedir_lastid%]" file_name="[%$dir_read.filedir_name%]">
		<p class="uploadimgWrap">
			<i class="file-preview file-type-dir" style="margin: 0px auto; margin-top:8px;" title="[%pack:filemanage_pack-espcms_lable_filemanage_gobackdir%]" ></i>
		</p>
		<p class="uploadprogress">
			<span class="progressline" style="display: none; width: 0px;"></span>
			<span class="successdirinfo">[%pack:filemanage_pack-espcms_lable_filemanage_gobackdir%]</span>
		</p>
	</li>
	[%/if%]
	[%if count($array_dir)>0%]
	[%forlist from=$array_dir key=i%]
	<li id="dir_[%$array_dir[i].filedir_id%]" class="state-complete espcms_filedir_ok espcms_file_dir" file_id="[%$array_dir[i].filedir_id%]" file_name="[%$array_dir[i].filedir_name%]">
		<p class="uploadimgWrap">
			<i class="file-preview file-type-opendir" style="margin: 0px auto; margin-top:8px;" title="[%$array_dir[i].filedir_name%]" ></i>
		</p>
		<p class="uploadprogress">
			<span class="progressline" style="display: none; width: 0px;"></span>
			<span class="successdirinfo">[%$array_dir[i].filedir_name%]</span>
		</p>

		<div class="espcms_right_menu">
			<dl class="espcms_right_dropdown_menu">
				<dd><a><span class="espcms_icon_fa espcms_icon_fa-pencil-square-o" aria-hidden="true"></span>[%pack:botton_pack-espcms_botton_modify%]</a></dd>
				<dd class="deldir"><span class="espcms_icon_fa espcms_icon_fa-trash-o" aria-hidden="true"></span>[%pack:botton_pack-espcms_botton_del%]</dd>
			</dl>
		</div>
	</li>
	[%/forlist%]
	[%/if%]

	[%if count($array)>0%]
	[%forlist from=$array key=i%]
	<li id="photoid_[%$array[i].file_id%]" class="state-complete espcms_fileupload_ok" file_id="[%$array[i].file_id%]" file_name="[%$array[i].file_name%]" file_url="[%$array[i].file_url%]" file_title="[%$array[i].file_title%]" file_ext="[%$array[i].file_ext%]" file_size="[%$array[i].file_size%]">
		<p class="uploadimgWrap">
			[%if $array[i].file_ext=='jpg' || $array[i].file_ext=='png' || $array[i].file_ext=='gif' || $array[i].file_ext=='jpeg'%]
			<img src="[%$array[i].view%]" title="[%$array[i].file_filename%]" width="108" height="108"/>
			[%else%]
			<i class="file-preview file-type-[%$array[i].file_ext%]" style="margin: 0px auto;margin-top:5px;" title="[%$array[i].file_filename%]" ></i>
			[%/if%]
		</p>
		<p class="uploadprogress">
			<span class="progressline" style="display: none; width: 0px;"></span>
			<span class="successinfo">[%$array[i].file_filename%]</span>
		</p>
		<p class="file_select_ok" style="display: none;"></p>
	</li>
	[%/forlist%]
	[%/if%]
</ul>
